package com.thf.service;

import com.thf.model.EchartsOneModel;
import com.thf.model.ResultData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@FeignClient(name = "echarts")
public interface EchartsOneService {
    @RequestMapping("/findAll")
    ResultData<Map<String, Object>> findAll();
    @RequestMapping("/find")
    List<EchartsOneModel> find();
}
